<template>
  <div class="googlist banxin flex">
    <GoogListItem
      v-for="item in arr"
      :key="item.id"
      :data="item"
    ></GoogListItem>
  </div>
</template>
 
<script>
import GoogListItem from "./GoogListItem.vue";
export default {
  props: ["arr"],
  data() {
    return {};
  },
  components: {
    GoogListItem,
  },
};
</script>
 
<style lang = "less" scoped>
.googlist {
  flex-wrap: wrap;
  /* justify-content: space-between; */
  .goog-list-item {
    margin-right: 20px;
    margin-bottom: 20px;
    &:nth-child(4n) {
      margin-right: 0;
    }
  }
}
</style>